﻿namespace Iesi.Collections
{
    using System;
    using System.Collections;

    [Serializable]
    public class SortedSet : DictionarySet
    {
        public SortedSet()
        {
            base.InternalDictionary = new SortedList();
        }

        public SortedSet(ICollection initialValues) : this()
        {
            this.AddAll(initialValues);
        }

        public SortedSet(IComparer comparer)
        {
            base.InternalDictionary = new SortedList(comparer);
        }

        public SortedSet(ICollection initialValues, IComparer comparer) : this(comparer)
        {
            this.AddAll(initialValues);
        }
    }
}

